import request from '@/utils/request'

// 更新隐患整改信息
export function updateHtHiddentroubleRectify(data) {
  return request({
    url: '/biz/ht-hiddentroubleRectify/update',
    method: 'put',
    data: data
  })
}


// 获得隐患整改信息
export function getHtHiddentroubleRectify(id) {
  return request({
    url: '/biz/ht-hiddentroubleRectify/get?id=' + id,
    method: 'get'
  })
}

// 获得隐患整改分页
export function getHtHiddenRectifyPage(query) {
  return request({
    url: '/biz/ht-hiddentroubleRectify/page',
    method: 'get',
    params: query
  })
}
// 延期申请
export function getHtHiddenRectifyDeferApply(data) {
  return request({
    url: '/biz/ht-hiddentroubleRectify/deferApply',
    method: 'put',
    data: data
  })
}
